package com.sly.slf4jmdc.service;

import com.sly.slf4jmdc.feign.DemoFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author SLY
 * @date 2022/3/11
 */
@Slf4j
@Service
public class DemoService {

    @Autowired
    private DemoFeign demoFeign;

    public Object test01(){
        log.info("Service日志");
        return demoFeign.test01();
    }
}
